// When an item is created or modified //
// trigger List: ContractList

/* --- trigger conditions ---

@equals(triggerBody()?['FlowStatus'],'Submit')

--- trigger conditions --- */

// 表服务
var List_ContractList = {}
var List_ApprovalData = {}
var List_Approver = {}
var List_Department = {}
var List_OtherServicesDepartment = {}
var List_StampOnlyApprover = {}


var 获取项或者文件的更改_仅限属性 = List_ContractList.GetItemChanges(
    id= triggerOutputs()['body/ID'],
    includeDrafts= false,
    since= triggerBody()['{TriggerWindowStartToken}'],
    until= triggerBody()['{TriggerWindowEndToken}'],
)

var brand = triggerBody()['Maison Value']
var ApprovalBatch = triggerBody()['ApprovalBatch']

var ApprovealUser = []
var AllApprover = []

var 获取多个项 = List_StampOnlyApprover.GetItems(`Maison eq '${brand}'`)


